<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div{
            border: red solid 1px;
        }
        span{
            border: red solid 1px;
        }
    </style>
</head>
<body>
    <div>标签1</div>
    <div>标签2</div>
    <span>标签3</span>
    <span>标签4</span>
</body>
</html>